.class public Lcom/xingbook/group/view/PublishRelativeLayout;
.super Landroid/widget/RelativeLayout;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Landroid/view/View$OnFocusChangeListener;
.implements Landroid/widget/AdapterView$OnItemClickListener;


# instance fields
.field private A:Landroid/view/View;

.field private B:Lcom/xingbook/group/view/n;

.field private C:Landroid/widget/ImageView;

.field private D:Lcom/xingbook/group/view/FixGridLayout;

.field private E:Lcom/xingbook/group/view/FixGridLayout;

.field private F:Landroid/view/View$OnTouchListener;

.field private G:Landroid/view/View$OnClickListener;

.field public a:Ljava/util/ArrayList;

.field public b:I

.field public c:I

.field private d:Landroid/content/Context;

.field private e:Landroid/app/Activity;

.field private f:F

.field private g:Lcom/xingbook/group/view/o;

.field private h:Landroid/support/v4/view/ViewPager;

.field private i:Ljava/util/ArrayList;

.field private j:Landroid/widget/LinearLayout;

.field private k:Ljava/util/ArrayList;

.field private l:Ljava/util/List;

.field private m:Landroid/view/View;

.field private n:Landroid/widget/LinearLayout;

.field private o:Landroid/widget/EditText;

.field private p:Landroid/widget/EditText;

.field private q:Ljava/util/List;

.field private r:I

.field private s:Landroid/view/View;

.field private t:Landroid/view/View;

.field private u:Landroid/widget/ImageView;

.field private v:Landroid/widget/ImageView;

.field private w:Landroid/widget/ImageView;

.field private x:Landroid/widget/ImageView;

.field private y:Landroid/widget/TextView;

.field private z:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/app/Activity;)V
    .locals 2

    const/4 v1, 0x0

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    invoke-direct {p0, v0}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    iput v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->r:I

    const/16 v0, 0x64

    iput v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    iput v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->c:I

    new-instance v0, Lcom/xingbook/group/view/d;

    invoke-direct {v0, p0}, Lcom/xingbook/group/view/d;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->F:Landroid/view/View$OnTouchListener;

    new-instance v0, Lcom/xingbook/group/view/e;

    invoke-direct {v0, p0}, Lcom/xingbook/group/view/e;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->G:Landroid/view/View$OnClickListener;

    invoke-virtual {p1}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    iput-object p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->e:Landroid/app/Activity;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    iput v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->r:I

    const/16 v0, 0x64

    iput v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    iput v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->c:I

    new-instance v0, Lcom/xingbook/group/view/d;

    invoke-direct {v0, p0}, Lcom/xingbook/group/view/d;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->F:Landroid/view/View$OnTouchListener;

    new-instance v0, Lcom/xingbook/group/view/e;

    invoke-direct {v0, p0}, Lcom/xingbook/group/view/e;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->G:Landroid/view/View$OnClickListener;

    iput-object p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 2

    const/4 v1, 0x0

    invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    iput v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->r:I

    const/16 v0, 0x64

    iput v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    iput v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->c:I

    new-instance v0, Lcom/xingbook/group/view/d;

    invoke-direct {v0, p0}, Lcom/xingbook/group/view/d;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->F:Landroid/view/View$OnTouchListener;

    new-instance v0, Lcom/xingbook/group/view/e;

    invoke-direct {v0, p0}, Lcom/xingbook/group/view/e;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->G:Landroid/view/View$OnClickListener;

    iput-object p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    return-object v0
.end method

.method static synthetic a(Lcom/xingbook/group/view/PublishRelativeLayout;I)V
    .locals 0

    iput p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->r:I

    return-void
.end method

.method static synthetic a(Lcom/xingbook/group/view/PublishRelativeLayout;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/group/view/PublishRelativeLayout;->setTagSelected(Z)V

    return-void
.end method

.method static synthetic b(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    return-object v0
.end method

.method static synthetic b(Lcom/xingbook/group/view/PublishRelativeLayout;I)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/xingbook/group/view/PublishRelativeLayout;->d(I)V

    return-void
.end method

.method static synthetic c(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic d(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    return-object v0
.end method

.method private d(I)V
    .locals 6

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getChildCount()I

    move-result v4

    move v2, v3

    :goto_0
    if-lt v2, v4, :cond_0

    iput p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v2}, Lcom/xingbook/group/view/FixGridLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    if-ne v5, v1, :cond_2

    const v1, -0x666667

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setSelected(Z)V

    :cond_1
    :goto_1
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_2
    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    if-ne p1, v1, :cond_1

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSelected(Z)V

    goto :goto_1
.end method

.method static synthetic e(Lcom/xingbook/group/view/PublishRelativeLayout;)Lcom/xingbook/group/view/FixGridLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    return-object v0
.end method

.method static synthetic f(Lcom/xingbook/group/view/PublishRelativeLayout;)Lcom/xingbook/group/view/FixGridLayout;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    return-object v0
.end method

.method private f()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->e:Landroid/app/Activity;

    invoke-static {v0}, Lcom/xingbook/c/n;->b(Landroid/app/Activity;)F

    move-result v0

    iput v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    new-instance v0, Ljava/util/ArrayList;

    const/4 v1, 0x3

    invoke-direct {v0, v1}, Ljava/util/ArrayList;-><init>(I)V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-direct {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->h()V

    invoke-direct {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->i()V

    invoke-direct {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->j()V

    invoke-direct {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->k()V

    invoke-direct {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->g()V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->e()V

    return-void
.end method

.method static synthetic g(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    return-object v0
.end method

.method private g()V
    .locals 5

    const/high16 v4, 0x435c

    const/high16 v0, 0x4220

    iget v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v0, v1

    float-to-int v0, v0

    mul-int/lit8 v0, v0, 0x3

    div-int/lit8 v0, v0, 0x5

    new-instance v1, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    iput-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    new-instance v1, Landroid/widget/LinearLayout$LayoutParams;

    iget v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v2, v4

    float-to-int v2, v2

    sub-int/2addr v2, v0

    iget v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    sub-int/2addr v3, v0

    invoke-direct {v1, v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v2, 0x41b0

    iget v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v0, v0, v3}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    sget-object v1, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    const v1, 0x7f02017f

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    new-instance v1, Lcom/xingbook/group/view/f;

    invoke-direct {v1, p0}, Lcom/xingbook/group/view/f;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    return-void
.end method

.method static synthetic h(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    return-object v0
.end method

.method private h()V
    .locals 9
    .annotation build Landroid/annotation/SuppressLint;
        value = {
            "NewApi"
        }
    .end annotation

    const/high16 v4, 0x4296

    const/high16 v8, 0x4120

    const/high16 v7, 0x4391

    const/high16 v6, 0x420c

    const/4 v5, 0x0

    iget v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float v0, v8, v1

    float-to-int v2, v0

    const v0, 0x7f0a017a

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/view/View;->setPadding(IIII)V

    const v0, 0x7f0a0186

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/support/v4/view/ViewPager;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->h:Landroid/support/v4/view/ViewPager;

    const v0, 0x7f0a0177

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/widget/EditText;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    mul-float v3, v4, v1

    float-to-int v3, v3

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->setMinHeight(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    mul-float v3, v6, v1

    invoke-virtual {v0, v5, v3}, Landroid/widget/EditText;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {v0, v5, v2, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    invoke-virtual {v0, p0}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    iget-object v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->F:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    new-instance v3, Lcom/xingbook/group/view/g;

    invoke-direct {v3, p0}, Lcom/xingbook/group/view/g;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    const v0, 0x7f0a0178

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/widget/EditText;->setPadding(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    mul-float v3, v4, v1

    float-to-int v3, v3

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->setMinHeight(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    mul-float v3, v6, v1

    invoke-virtual {v0, v5, v3}, Landroid/widget/EditText;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-virtual {v0, v5, v2, v5, v2}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v0, p0}, Landroid/widget/EditText;->setOnFocusChangeListener(Landroid/view/View$OnFocusChangeListener;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    iget-object v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->F:Landroid/view/View$OnTouchListener;

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    new-instance v3, Lcom/xingbook/group/view/i;

    invoke-direct {v3, p0}, Lcom/xingbook/group/view/i;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    invoke-virtual {v0, v3}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    mul-float v0, v4, v1

    float-to-int v3, v0

    const v0, 0x7f0a017b

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a017c

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    invoke-virtual {v0, v2, v5, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a017d

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v4, 0x4282

    mul-float/2addr v4, v1

    float-to-int v4, v4

    iput v4, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    invoke-virtual {v0, v2, v5, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    const v4, 0x7f020190

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a017f

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v4, v8, v1

    float-to-int v4, v4

    iput v4, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    const v4, 0x7f020191

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a017e

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->y:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->y:Landroid/widget/TextView;

    iget v4, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v4, v6

    invoke-virtual {v0, v5, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->y:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->y:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a0180

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/high16 v4, 0x4282

    mul-float/2addr v4, v1

    float-to-int v4, v4

    iput v4, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    invoke-virtual {v0, v2, v5, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    const v4, 0x7f020190

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a0182

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->x:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->x:Landroid/widget/ImageView;

    invoke-virtual {v0}, Landroid/widget/ImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    mul-float v4, v8, v1

    float-to-int v4, v4

    iput v4, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->x:Landroid/widget/ImageView;

    const v4, 0x7f02018b

    invoke-virtual {v0, v4}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->x:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a0181

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    iget v4, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v4, v6

    invoke-virtual {v0, v5, v4}, Landroid/widget/TextView;->setTextSize(IF)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a0183

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    iput v3, v0, Landroid/widget/RelativeLayout$LayoutParams;->height:I

    invoke-virtual {v0, v2, v5, v5, v5}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0a0187

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->j:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->bottomMargin:I

    const v0, 0x7f0a0185

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    mul-float v3, v7, v1

    float-to-int v3, v3

    iput v3, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    div-int/lit8 v3, v2, 0x2

    invoke-virtual {v0, v2, v2, v2, v3}, Landroid/view/View;->setPadding(IIII)V

    const v0, 0x7f0a0188

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    mul-float v3, v7, v1

    float-to-int v3, v3

    iput v3, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2, v2, v2, v2}, Landroid/widget/LinearLayout;->setPadding(IIII)V

    const v0, 0x7f0a0189

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/view/FixGridLayout;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    mul-float v3, v7, v1

    float-to-int v3, v3

    iput v3, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v2, v2, v2, v2}, Lcom/xingbook/group/view/FixGridLayout;->setPadding(IIII)V

    const v0, 0x7f0a018a

    invoke-virtual {p0, v0}, Lcom/xingbook/group/view/PublishRelativeLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/view/FixGridLayout;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    mul-float/2addr v1, v7

    float-to-int v1, v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->height:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v2, v2, v2, v2}, Lcom/xingbook/group/view/FixGridLayout;->setPadding(IIII)V

    return-void
.end method

.method static synthetic i(Lcom/xingbook/group/view/PublishRelativeLayout;)Lcom/xingbook/group/view/n;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->B:Lcom/xingbook/group/view/n;

    return-object v0
.end method

.method private i()V
    .locals 7

    const/4 v6, 0x1

    const/4 v2, 0x0

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->i:Ljava/util/ArrayList;

    new-instance v0, Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->i:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->q:Ljava/util/List;

    move v1, v2

    :goto_0
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->l:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lt v1, v0, :cond_0

    new-instance v0, Landroid/view/View;

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v0, v1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    invoke-virtual {v0, v2}, Landroid/view/View;->setBackgroundColor(I)V

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->i:Ljava/util/ArrayList;

    invoke-virtual {v1, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    return-void

    :cond_0
    new-instance v4, Landroid/widget/GridView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v4, v0}, Landroid/widget/GridView;-><init>(Landroid/content/Context;)V

    new-instance v5, Lcom/xingbook/group/adapter/a;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->e:Landroid/app/Activity;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->e:Landroid/app/Activity;

    move-object v3, v0

    :goto_1
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->l:Ljava/util/List;

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/util/List;

    invoke-direct {v5, v3, v0}, Lcom/xingbook/group/adapter/a;-><init>(Landroid/content/Context;Ljava/util/List;)V

    invoke-virtual {v4, v5}, Landroid/widget/GridView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->q:Ljava/util/List;

    invoke-interface {v0, v5}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    invoke-virtual {v4, p0}, Landroid/widget/GridView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    const/4 v0, 0x7

    invoke-virtual {v4, v0}, Landroid/widget/GridView;->setNumColumns(I)V

    invoke-virtual {v4, v2}, Landroid/widget/GridView;->setBackgroundColor(I)V

    invoke-virtual {v4, v6}, Landroid/widget/GridView;->setHorizontalSpacing(I)V

    invoke-virtual {v4, v6}, Landroid/widget/GridView;->setVerticalSpacing(I)V

    const/4 v0, 0x2

    invoke-virtual {v4, v0}, Landroid/widget/GridView;->setStretchMode(I)V

    invoke-virtual {v4, v2}, Landroid/widget/GridView;->setCacheColorHint(I)V

    const/high16 v0, 0x4120

    iget v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v0, v3

    const/high16 v3, 0x4000

    div-float/2addr v0, v3

    float-to-int v0, v0

    invoke-virtual {v4, v0, v2, v0, v2}, Landroid/widget/GridView;->setPadding(IIII)V

    new-instance v0, Landroid/graphics/drawable/ColorDrawable;

    invoke-direct {v0, v2}, Landroid/graphics/drawable/ColorDrawable;-><init>(I)V

    invoke-virtual {v4, v0}, Landroid/widget/GridView;->setSelector(Landroid/graphics/drawable/Drawable;)V

    new-instance v0, Landroid/widget/RelativeLayout$LayoutParams;

    const/4 v3, -0x1

    const/4 v5, -0x2

    invoke-direct {v0, v3, v5}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v0}, Landroid/widget/GridView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    const/16 v0, 0x11

    invoke-virtual {v4, v0}, Landroid/widget/GridView;->setGravity(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->i:Ljava/util/ArrayList;

    invoke-virtual {v0, v4}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    move-object v3, v0

    goto :goto_1
.end method

.method static synthetic j(Lcom/xingbook/group/view/PublishRelativeLayout;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->k:Ljava/util/ArrayList;

    return-object v0
.end method

.method private j()V
    .locals 7

    const/4 v6, -0x2

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->k:Ljava/util/ArrayList;

    const/4 v0, 0x0

    :goto_0
    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->i:Ljava/util/ArrayList;

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v1

    if-lt v0, v1, :cond_0

    return-void

    :cond_0
    new-instance v1, Landroid/widget/ImageView;

    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v1, v2}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    const v2, 0x7f0201d9

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    new-instance v2, Landroid/widget/LinearLayout$LayoutParams;

    new-instance v3, Landroid/view/ViewGroup$LayoutParams;

    invoke-direct {v3, v6, v6}, Landroid/view/ViewGroup$LayoutParams;-><init>(II)V

    invoke-direct {v2, v3}, Landroid/widget/LinearLayout$LayoutParams;-><init>(Landroid/view/ViewGroup$LayoutParams;)V

    const/high16 v3, 0x4120

    iget v4, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v3, v4

    float-to-int v3, v3

    const/high16 v4, 0x4140

    iget v5, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v4, v5

    float-to-int v4, v4

    iput v3, v2, Landroid/widget/LinearLayout$LayoutParams;->leftMargin:I

    iput v3, v2, Landroid/widget/LinearLayout$LayoutParams;->rightMargin:I

    iput v4, v2, Landroid/widget/LinearLayout$LayoutParams;->width:I

    iput v4, v2, Landroid/widget/LinearLayout$LayoutParams;->height:I

    iget-object v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->j:Landroid/widget/LinearLayout;

    invoke-virtual {v3, v1, v2}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    if-eqz v0, :cond_1

    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->i:Ljava/util/ArrayList;

    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v2

    add-int/lit8 v2, v2, -0x1

    if-ne v0, v2, :cond_2

    :cond_1
    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    :cond_2
    const/4 v2, 0x1

    if-ne v0, v2, :cond_3

    const v2, 0x7f0201da

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :cond_3
    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->k:Ljava/util/ArrayList;

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method static synthetic k(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/support/v4/view/ViewPager;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->h:Landroid/support/v4/view/ViewPager;

    return-object v0
.end method

.method private k()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->h:Landroid/support/v4/view/ViewPager;

    new-instance v1, Lcom/xingbook/group/adapter/ViewPagerAdapter;

    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->i:Ljava/util/ArrayList;

    invoke-direct {v1, v2}, Lcom/xingbook/group/adapter/ViewPagerAdapter;-><init>(Ljava/util/List;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setAdapter(Landroid/support/v4/view/PagerAdapter;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->h:Landroid/support/v4/view/ViewPager;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setCurrentItem(I)V

    const/4 v0, 0x0

    iput v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->r:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->h:Landroid/support/v4/view/ViewPager;

    new-instance v1, Lcom/xingbook/group/view/k;

    invoke-direct {v1, p0}, Lcom/xingbook/group/view/k;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    invoke-virtual {v0, v1}, Landroid/support/v4/view/ViewPager;->setOnPageChangeListener(Landroid/support/v4/view/ViewPager$OnPageChangeListener;)V

    return-void
.end method

.method static synthetic l(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    return-object v0
.end method

.method private l()V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->removeAllViews()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->C:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    :cond_0
    return-void
.end method

.method static synthetic m(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/ImageView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic n(Lcom/xingbook/group/view/PublishRelativeLayout;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->y:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic o(Lcom/xingbook/group/view/PublishRelativeLayout;)F
    .locals 1

    iget v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    return v0
.end method

.method private setTagSelected(Z)V
    .locals 2

    iget v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    if-nez v0, :cond_0

    if-eqz p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    const v1, 0x7f020192

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    const v1, 0x7f020193

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    const v1, 0x7f020190

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    const v1, 0x7f020191

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_0
.end method


# virtual methods
.method public a()V
    .locals 3

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->getFocusedChild()Landroid/view/View;

    move-result-object v1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    const-string v2, "input_method"

    invoke-virtual {v0, v2}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    invoke-virtual {v0}, Landroid/view/inputmethod/InputMethodManager;->isActive()Z

    move-result v2

    if-nez v2, :cond_0

    if-eqz v1, :cond_0

    const/4 v2, 0x2

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    :cond_0
    return-void
.end method

.method public a(I)V
    .locals 3

    const/4 v0, 0x1

    move v1, v0

    :goto_0
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->k:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lt v1, v0, :cond_0

    return-void

    :cond_0
    if-ne p1, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v2, 0x7f0201da

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    :goto_1
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->k:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    const v2, 0x7f0201d9

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    goto :goto_1
.end method

.method public a(Landroid/util/SparseArray;)V
    .locals 11

    const/4 v5, -0x2

    const/4 v2, 0x0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->removeAllViews()V

    const/high16 v0, 0x4170

    iget v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v0, v1

    float-to-int v6, v0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    iput v6, v0, Lcom/xingbook/group/view/FixGridLayout;->a:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    iput v6, v0, Lcom/xingbook/group/view/FixGridLayout;->b:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    const/16 v1, 0x30

    iput v1, v0, Lcom/xingbook/group/view/FixGridLayout;->d:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    const/4 v1, 0x3

    iput v1, v0, Lcom/xingbook/group/view/FixGridLayout;->c:I

    new-instance v7, Lcom/xingbook/group/view/l;

    invoke-direct {v7, p0, p1}, Lcom/xingbook/group/view/l;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;Landroid/util/SparseArray;)V

    if-eqz p1, :cond_4

    invoke-virtual {p1}, Landroid/util/SparseArray;->size()I

    move-result v0

    move v1, v0

    :goto_0
    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v5, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v5, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v0, 0x420c

    iget v5, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float v8, v0, v5

    move v5, v2

    :goto_1
    if-lt v5, v1, :cond_1

    iget v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    if-eqz v0, :cond_0

    iget v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    invoke-virtual {p1, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->u:Landroid/widget/ImageView;

    const v1, 0x7f02018e

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->v:Landroid/widget/ImageView;

    const v1, 0x7f02018f

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->y:Landroid/widget/TextView;

    const/high16 v1, 0x4120

    iget v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v1, v3

    float-to-int v1, v1

    invoke-virtual {v0, v1, v2, v2, v2}, Landroid/widget/TextView;->setPadding(IIII)V

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->y:Landroid/widget/TextView;

    iget v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    invoke-virtual {p1, v0}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    return-void

    :cond_1
    invoke-virtual {p1, v5}, Landroid/util/SparseArray;->keyAt(I)I

    move-result v9

    new-instance v10, Landroid/widget/TextView;

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v10, v0}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v10, v2, v8}, Landroid/widget/TextView;->setTextSize(IF)V

    const/16 v0, 0x11

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setGravity(I)V

    invoke-virtual {v10, v6, v6, v6, v6}, Landroid/widget/TextView;->setPadding(IIII)V

    invoke-virtual {p1, v9}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/CharSequence;

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v9}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    if-nez v5, :cond_2

    move-object v0, v3

    :goto_2
    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v10, v7}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v10}, Landroid/widget/TextView;->invalidate()V

    const v0, 0x7f02016b

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setBackgroundResource(I)V

    iget v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->b:I

    if-ne v9, v0, :cond_3

    const/4 v0, -0x1

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v0, 0x1

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setSelected(Z)V

    :goto_3
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v10}, Lcom/xingbook/group/view/FixGridLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v0, v5, 0x1

    move v5, v0

    goto/16 :goto_1

    :cond_2
    move-object v0, v4

    goto :goto_2

    :cond_3
    const v0, -0x666667

    invoke-virtual {v10, v0}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v10, v2}, Landroid/widget/TextView;->setSelected(Z)V

    goto :goto_3

    :cond_4
    move v1, v2

    goto/16 :goto_0
.end method

.method public a(Ljava/lang/String;)V
    .locals 10

    const/4 v9, 0x3

    const/4 v8, 0x0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lt v0, v9, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    const/high16 v0, 0x435c

    iget v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v0, v1

    float-to-int v0, v0

    const/high16 v1, 0x4220

    iget v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v1, v2

    float-to-int v1, v1

    const/high16 v2, 0x4120

    iget v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v2, v3

    float-to-int v2, v2

    mul-int/lit8 v3, v1, 0x3

    div-int/lit8 v3, v3, 0x5

    sub-int v4, v0, v3

    new-instance v5, Landroid/widget/RelativeLayout;

    iget-object v6, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v5, v6}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V

    new-instance v6, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v6, v0, v0}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v0, 0x41b0

    iget v7, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v0, v7

    float-to-int v0, v0

    invoke-virtual {v6, v0, v8, v8, v8}, Landroid/widget/LinearLayout$LayoutParams;->setMargins(IIII)V

    invoke-virtual {v5, v6}, Landroid/widget/RelativeLayout;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    new-instance v0, Landroid/widget/ImageView;

    iget-object v6, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v0, v6}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    new-instance v6, Landroid/widget/RelativeLayout$LayoutParams;

    invoke-direct {v6, v4, v4}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    invoke-virtual {v6, v8, v3, v3, v8}, Landroid/widget/RelativeLayout$LayoutParams;->setMargins(IIII)V

    invoke-virtual {v0, v6}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    sget-object v3, Landroid/widget/ImageView$ScaleType;->CENTER:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    invoke-static {p1, v4}, Lcom/xingbook/group/b/d;->a(Ljava/lang/String;I)Landroid/graphics/Bitmap;

    move-result-object v3

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    invoke-virtual {v5, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    new-instance v0, Landroid/widget/ImageView;

    iget-object v3, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v0, v3}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    sget-object v3, Landroid/widget/ImageView$ScaleType;->FIT_XY:Landroid/widget/ImageView$ScaleType;

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setScaleType(Landroid/widget/ImageView$ScaleType;)V

    new-instance v3, Landroid/widget/RelativeLayout$LayoutParams;

    add-int v4, v1, v2

    add-int/2addr v1, v2

    invoke-direct {v3, v4, v1}, Landroid/widget/RelativeLayout$LayoutParams;-><init>(II)V

    const/16 v1, 0xb

    invoke-virtual {v3, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(I)V

    invoke-virtual {v0, v2, v8, v8, v2}, Landroid/widget/ImageView;->setPadding(IIII)V

    const v1, 0x7f0201e6

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->G:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v5, v0}, Landroid/widget/RelativeLayout;->addView(Landroid/view/View;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v1}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v1

    if-ge v1, v9, :cond_2

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    add-int/lit8 v0, v0, -0x1

    invoke-virtual {v1, v5, v0}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;I)V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getChildCount()I

    move-result v0

    if-ne v0, v9, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    const/4 v1, 0x2

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->removeViewAt(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v5}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    goto/16 :goto_0
.end method

.method public b()V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    const-string v1, "input_method"

    invoke-virtual {v0, v1}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    invoke-virtual {v0}, Landroid/view/inputmethod/InputMethodManager;->isActive()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->getApplicationWindowToken()Landroid/os/IBinder;

    move-result-object v1

    const/4 v2, 0x2

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    return-void
.end method

.method public b(I)V
    .locals 6

    const/4 v3, 0x0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getChildCount()I

    move-result v4

    move v2, v3

    :goto_0
    if-lt v2, v4, :cond_0

    return-void

    :cond_0
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v2}, Lcom/xingbook/group/view/FixGridLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iget v5, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->c:I

    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Ljava/lang/Integer;

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    if-ne v5, v1, :cond_1

    const/4 v1, -0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setSelected(Z)V

    :goto_1
    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto :goto_0

    :cond_1
    const v1, -0x666667

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setSelected(Z)V

    goto :goto_1
.end method

.method public b(Ljava/lang/String;)V
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->clearFocus()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->clearFocus()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    const-string v1, ""

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    invoke-direct {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->l()V

    return-void
.end method

.method public c(I)V
    .locals 2

    const/4 v1, 0x0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->x:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iput p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->c:I

    if-nez p1, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    const v1, 0x7f02018a

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    invoke-static {p1}, Lcom/xingbook/group/a/p;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    :goto_0
    invoke-virtual {p0, p1}, Lcom/xingbook/group/view/PublishRelativeLayout;->b(I)V

    return-void

    :cond_1
    const/4 v0, 0x1

    if-ne p1, v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    const v1, 0x7f020189

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    invoke-static {p1}, Lcom/xingbook/group/a/p;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_2
    const/4 v0, 0x2

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->w:Landroid/widget/ImageView;

    const v1, 0x7f020188

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->z:Landroid/widget/TextView;

    invoke-static {p1}, Lcom/xingbook/group/a/p;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method public c()Z
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public d()Z
    .locals 2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    const/4 v0, 0x1

    :goto_0
    return v0

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public e()V
    .locals 12

    const/4 v1, 0x0

    const/4 v5, -0x2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->removeAllViews()V

    const/high16 v0, 0x4170

    iget v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v0, v2

    float-to-int v6, v0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    iput v6, v0, Lcom/xingbook/group/view/FixGridLayout;->a:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    iput v6, v0, Lcom/xingbook/group/view/FixGridLayout;->b:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    const/16 v2, 0x30

    iput v2, v0, Lcom/xingbook/group/view/FixGridLayout;->d:I

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    const/4 v2, 0x3

    iput v2, v0, Lcom/xingbook/group/view/FixGridLayout;->c:I

    new-instance v7, Lcom/xingbook/group/view/m;

    invoke-direct {v7, p0}, Lcom/xingbook/group/view/m;-><init>(Lcom/xingbook/group/view/PublishRelativeLayout;)V

    invoke-static {}, Lcom/xingbook/group/a/p;->h()[I

    move-result-object v8

    if-eqz v8, :cond_3

    array-length v0, v8

    :goto_0
    new-instance v3, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v3, v5, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    new-instance v4, Landroid/widget/LinearLayout$LayoutParams;

    invoke-direct {v4, v5, v5}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    const/high16 v2, 0x420c

    iget v5, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float v9, v2, v5

    move v5, v1

    :goto_1
    if-lt v5, v0, :cond_0

    return-void

    :cond_0
    aget v10, v8, v5

    new-instance v11, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-direct {v11, v2}, Landroid/widget/TextView;-><init>(Landroid/content/Context;)V

    invoke-virtual {v11, v1, v9}, Landroid/widget/TextView;->setTextSize(IF)V

    const/16 v2, 0x11

    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setGravity(I)V

    invoke-virtual {v11, v6, v6, v6, v6}, Landroid/widget/TextView;->setPadding(IIII)V

    invoke-static {v10}, Lcom/xingbook/group/a/p;->b(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v10}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    if-nez v5, :cond_1

    move-object v2, v3

    :goto_2
    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    invoke-virtual {v11, v7}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    invoke-virtual {v11}, Landroid/widget/TextView;->invalidate()V

    const v2, 0x7f02016b

    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setBackgroundResource(I)V

    iget v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->c:I

    if-ne v10, v2, :cond_2

    const/4 v2, -0x1

    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setTextColor(I)V

    const/4 v2, 0x1

    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setSelected(Z)V

    :goto_3
    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v2, v11}, Lcom/xingbook/group/view/FixGridLayout;->addView(Landroid/view/View;)V

    add-int/lit8 v2, v5, 0x1

    move v5, v2

    goto :goto_1

    :cond_1
    move-object v2, v4

    goto :goto_2

    :cond_2
    const v2, -0x666667

    invoke-virtual {v11, v2}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v11, v1}, Landroid/widget/TextView;->setSelected(Z)V

    goto :goto_3

    :cond_3
    move v0, v1

    goto :goto_0
.end method

.method public getContent()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public getCurrentLimitId()I
    .locals 1

    iget v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->c:I

    return v0
.end method

.method public getMinHeight()I
    .locals 2

    const/high16 v0, 0x42c2

    iget v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->f:F

    mul-float/2addr v0, v1

    float-to-int v0, v0

    return v0
.end method

.method public getTitle()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->o:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    const/16 v1, 0x8

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_0

    invoke-virtual {p1, v2}, Landroid/view/View;->setSelected(Z)V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :cond_0
    invoke-virtual {p1, v3}, Landroid/view/View;->setSelected(Z)V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->b()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_1
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_2

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    invoke-direct {p0, v2}, Lcom/xingbook/group/view/PublishRelativeLayout;->setTagSelected(Z)V

    :cond_2
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_3

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    :cond_3
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_4

    invoke-virtual {p1, v2}, Landroid/view/View;->setSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a()V

    goto :goto_0

    :cond_4
    invoke-virtual {p1, v3}, Landroid/view/View;->setSelected(Z)V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->b()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_5

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_5
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_6

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    invoke-direct {p0, v2}, Lcom/xingbook/group/view/PublishRelativeLayout;->setTagSelected(Z)V

    :cond_6
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->B:Lcom/xingbook/group/view/n;

    if-eqz v0, :cond_7

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->a:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_7

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->B:Lcom/xingbook/group/view/n;

    invoke-interface {v0}, Lcom/xingbook/group/view/n;->a()V

    :cond_7
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_8

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    :cond_8
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v2}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :pswitch_2
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_9

    invoke-direct {p0, v2}, Lcom/xingbook/group/view/PublishRelativeLayout;->setTagSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a()V

    goto/16 :goto_0

    :cond_9
    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->b()V

    invoke-direct {p0, v3}, Lcom/xingbook/group/view/PublishRelativeLayout;->setTagSelected(Z)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_a

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_a
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_b

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_b
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_c

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    :cond_c
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v2}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :pswitch_3
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_d

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a()V

    goto/16 :goto_0

    :cond_d
    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->b()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_e

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_e
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_f

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_f
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_10

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    invoke-direct {p0, v2}, Lcom/xingbook/group/view/PublishRelativeLayout;->setTagSelected(Z)V

    :cond_10
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v2}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_0

    :pswitch_4
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0}, Landroid/view/View;->getVisibility()I

    move-result v0

    if-nez v0, :cond_11

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->m:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_11
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0}, Landroid/widget/LinearLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_12

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->n:Landroid/widget/LinearLayout;

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->setVisibility(I)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setSelected(Z)V

    :cond_12
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_13

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->D:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    invoke-direct {p0, v2}, Lcom/xingbook/group/view/PublishRelativeLayout;->setTagSelected(Z)V

    :cond_13
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0}, Lcom/xingbook/group/view/FixGridLayout;->getVisibility()I

    move-result v0

    if-nez v0, :cond_14

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->E:Lcom/xingbook/group/view/FixGridLayout;

    invoke-virtual {v0, v1}, Lcom/xingbook/group/view/FixGridLayout;->setVisibility(I)V

    :cond_14
    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->A:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->a()V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0a017b
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_2
        :pswitch_2
        :pswitch_3
        :pswitch_3
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method protected onFinishInflate()V
    .locals 1

    invoke-super {p0}, Landroid/widget/RelativeLayout;->onFinishInflate()V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-static {v0}, Lcom/xingbook/group/b/b;->a(Landroid/content/Context;)Lcom/xingbook/group/b/b;

    move-result-object v0

    iget-object v0, v0, Lcom/xingbook/group/b/b;->b:Ljava/util/List;

    iput-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->l:Ljava/util/List;

    invoke-direct {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->f()V

    return-void
.end method

.method public onFocusChange(Landroid/view/View;Z)V
    .locals 4

    const/4 v3, 0x1

    const/4 v2, 0x0

    if-eqz p2, :cond_0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a0177

    if-ne v0, v1, :cond_1

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setEnabled(Z)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setEnabled(Z)V

    :cond_0
    :goto_0
    return-void

    :cond_1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    const v1, 0x7f0a0178

    if-ne v0, v1, :cond_0

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->s:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setEnabled(Z)V

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->t:Landroid/view/View;

    invoke-virtual {v0, v3}, Landroid/view/View;->setEnabled(Z)V

    goto :goto_0
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 6

    iget-object v0, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->q:Ljava/util/List;

    iget v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->r:I

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/adapter/a;

    invoke-virtual {v0, p3}, Lcom/xingbook/group/adapter/a;->getItem(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/xingbook/group/a/a;

    iget v1, v0, Lcom/xingbook/group/a/a;->a:I

    const v2, 0x7f02017b

    if-ne v1, v2, :cond_2

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getSelectionStart()I

    move-result v1

    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v2

    if-lez v1, :cond_2

    add-int/lit8 v3, v1, -0x1

    invoke-virtual {v2, v3}, Ljava/lang/String;->substring(I)Ljava/lang/String;

    move-result-object v3

    const-string v4, "]"

    invoke-virtual {v4, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    const-string v0, "["

    invoke-virtual {v2, v0}, Ljava/lang/String;->lastIndexOf(Ljava/lang/String;)I

    move-result v0

    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-interface {v2, v0, v1}, Landroid/text/Editable;->delete(II)Landroid/text/Editable;

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v2, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v2}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    add-int/lit8 v3, v1, -0x1

    invoke-interface {v2, v3, v1}, Landroid/text/Editable;->delete(II)Landroid/text/Editable;

    :cond_2
    iget-object v1, v0, Lcom/xingbook/group/a/a;->b:Ljava/lang/String;

    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-nez v1, :cond_0

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->g:Lcom/xingbook/group/view/o;

    if-eqz v1, :cond_3

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->g:Lcom/xingbook/group/view/o;

    invoke-interface {v1, v0}, Lcom/xingbook/group/view/o;->a(Lcom/xingbook/group/a/a;)V

    :cond_3
    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->d:Landroid/content/Context;

    invoke-static {v1}, Lcom/xingbook/group/b/b;->a(Landroid/content/Context;)Lcom/xingbook/group/b/b;

    move-result-object v1

    invoke-virtual {p0}, Lcom/xingbook/group/view/PublishRelativeLayout;->getContext()Landroid/content/Context;

    move-result-object v2

    iget v3, v0, Lcom/xingbook/group/a/a;->a:I

    iget-object v0, v0, Lcom/xingbook/group/a/a;->b:Ljava/lang/String;

    iget-object v4, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v4}, Landroid/widget/EditText;->getTextSize()F

    move-result v4

    const v5, 0x3fa66666

    mul-float/2addr v4, v5

    float-to-int v4, v4

    invoke-virtual {v1, v2, v3, v0, v4}, Lcom/xingbook/group/b/b;->a(Landroid/content/Context;ILjava/lang/String;I)Landroid/text/SpannableString;

    move-result-object v0

    iget-object v1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->p:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->append(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method

.method public setCallback(Lcom/xingbook/group/view/n;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->B:Lcom/xingbook/group/view/n;

    return-void
.end method

.method public setOnCorpusSelectedListener(Lcom/xingbook/group/view/o;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/group/view/PublishRelativeLayout;->g:Lcom/xingbook/group/view/o;

    return-void
.end method
